package com.hbnu.domain;

public class UserInfo {
    private int uid;
    private String uname;
    private String upsw;
    private String urole;

    public UserInfo() {
    }

    public UserInfo(int uid, String uname, String upsw, String role) {
        this.uid = uid;
        this.uname = uname;
        this.upsw = upsw;
        this.urole = role;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUpsw() {
        return upsw;
    }

    public void setUpsw(String upsw) {
        this.upsw = upsw;
    }

    public String getUrole() {
        return urole;
    }

    public void setUrole(String urole) {
        this.urole = urole;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "uid=" + uid +
                ", uname='" + uname + '\'' +
                ", urole='" + urole + '\'' +
                '}';
    }
}
